<!DOCTYPE html "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-spring4-4.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:th="http://www.thymeleaf.org">


<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg">
<div class="wrapper wrapper-content ">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-content">
                    <form class="form-horizontal m-t" id="signupForm">
                        <div class="form-group">
                            <label class="col-sm-2 control-label">产品名称：</label>
                            <div class="col-sm-10">
                                <input id="bannerName" name="bannerName" th:value="${productInfo.productName}"
                                       class="form-control" type="text" readonly="readonly">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">产品副标题(描述)：</label>
                            <div class="col-sm-10">
                                <input id="productDesc" name="productDesc" th:value="${productInfo.productDesc}"
                                       class="form-control" type="text" readonly="readonly">
                            </div>
                        </div>

                        <div class="form-group" th:if="${productInfo.logoImg} != null ">
                            <label class="col-sm-2 control-label">logo图片：</label>
                        </div>

                        <div class="form-group" th:if="${productInfo.logoImg} != null ">
                            <div class="col-sm-8 col-sm-offset-3">
                                <img th:src="${productInfo.logoImg}"  alt="logo图片" class="img-responsive img-thumbnail"
                                     style="height: 60px;width: 60px">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">最低额度：</label>
                            <div class="col-sm-4">
                                <input type="number" id="minLimit" name="minLimit" th:value="${productInfo.minLimit}"
                                       data-placeholder="最低额度" class="form-control" readonly="readonly">
                            </div>
                            <label class="col-sm-2 control-label">最高额度：</label>
                            <div class="col-sm-4">
                                <input type="number" id="maxLimit" name="maxLimit" th:value="${productInfo.maxLimit}"
                                       data-placeholder="最高额度" class="form-control" readonly="readonly">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">状态:</label>
                            <div class="col-sm-10">
                                <select id="status" name="status" th:field="${productInfo.status}"
                                        data-placeholder="状态" class="form-control chosen-select"  disabled="disabled"   >
                                    <option value="1">上架</option>
                                    <option value="0">下架</option>
                                </select>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">是否置顶:</label>
                            <div class="col-sm-10">
                                <select id="isTop" name="isTop" th:field="${productInfo.isTop}"
                                        data-placeholder="是否置顶" class="form-control chosen-select"  disabled="disabled"   >
                                    <option value="0">否</option>
                                    <option value="1">是</option>
                                </select>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">链接地址：</label>
                            <div class="col-sm-10">
                                <input id="linkUrl" name="linkUrl" th:value="${productInfo.linkUrl}" class="form-control"
                                       type="text" maxlength="200" placeholder="http://..."  readonly="readonly">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">排序号：</label>
                            <div class="col-sm-10">
                                <input id="orderNum" name="orderNum" class="form-control"
                                       type="text" readonly="readonly" th:value="${productInfo.orderNum}">
                            </div>
                        </div>

                        <div class="form-group">
                            <label class="col-sm-2 control-label">备注：</label>
                            <div class="col-sm-10">
                                <textarea id="remark" name="remark" th:text="${productInfo.remark}"
                                          class="form-control" placeholder="产品详情说明..." readonly="readonly"></textarea>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
<div th:include="include::footer"></div>
<script th:inline="javascript">
    $().ready(function () {
    });





</script>
</body>
</html>